<?php
redirectToprovider();

function redirectToprovider(){
	$tag = $_REQUEST['tag'];
	if($tag == 'bluehost'){
		ob_start();
		header("Location: http://www.bluehost.com/track/longyi");
		ob_flush();
	}else if($tag == 'webhostinghub'){
		ob_start();
		header("Location: https://ref.webhostinghub.com/scripts/click.php?ref_id=longyi&amp;ad_id=85c4faf6");
		ob_flush();
	}else if($tag == 'arvixe'){
		ob_start();
		header("Location: http://www.arvixe.com/3799.html");
		ob_flush();
	}
	else if($tag == 'hostgator'){
		ob_start();
		header("Location: http://secure.hostgator.com/~affiliat/cgi-bin/affiliates/clickthru.cgi?id=longyi");
		ob_flush();
	}
}
?>